package com.gds.wiki.cloud.oauth2.common.integration.authenticator;


import com.gds.wiki.cloud.oauth2.common.integration.IntegrationAuthentication;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author WIKI
 * @date 2018-4-4
 **/
public abstract class AbstractPreparableIntegrationAuthenticator implements IntegrationAuthenticator {

    @Override
    public abstract UserDetails authenticate(IntegrationAuthentication integrationAuthentication) ;

    @Override
    public abstract void prepare(IntegrationAuthentication integrationAuthentication) ;

    @Override
    public abstract boolean support(IntegrationAuthentication integrationAuthentication) ;

    @Override
    public void complete(IntegrationAuthentication integrationAuthentication) {

    }
}
